package tech.aistar.vo;

import tech.aistar.entity.Demand;
import tech.aistar.entity.UserInfo;

import java.util.Date;
import java.util.List;

/**
 * Created by 23827 on 2019/10/4.
 */
public class DemandOrderVo {
    private Integer id;

    private Demand demand;

    private UserInfo userInfo;

    private String orderNumber;

    private String intro;

    private String name;

    private Float price;

    private Date commitTime;

    private Integer status;

    private List<String> demandOrderVo;

    public DemandOrderVo() {
    }

    public DemandOrderVo(Integer id, Demand demand, UserInfo userInfo, String orderNumber, String intro, String name, Float price, Date commitTime, Integer status, List<String> demandOrderVo) {
        this.id = id;
        this.demand = demand;
        this.userInfo = userInfo;
        this.orderNumber = orderNumber;
        this.intro = intro;
        this.name = name;
        this.price = price;
        this.commitTime = commitTime;
        this.status = status;
        this.demandOrderVo = demandOrderVo;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public Demand getDemand() {
        return demand;
    }

    public void setDemand(Demand demand) {
        this.demand = demand;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String telNumber) {
        this.orderNumber = telNumber;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Date getCommitTime() {
        return commitTime;
    }

    public void setCommitTime(Date commitTime) {
        this.commitTime = commitTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public List<String> getDemandOrderVo() {
        return demandOrderVo;
    }

    public void setDemandOrderVo(List<String> demandOrderVo) {
        this.demandOrderVo = demandOrderVo;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("DemandOrderVo{");
        sb.append("demand=").append(demand);
        sb.append("id=").append(id);
        sb.append(", userInfo=").append(userInfo);
        sb.append(", telNumber='").append(orderNumber).append('\'');
        sb.append(", intro='").append(intro).append('\'');
        sb.append(", name='").append(name).append('\'');
        sb.append(", price=").append(price);
        sb.append(", commitTime=").append(commitTime);
        sb.append(", status=").append(status);
        sb.append(", demandOrderVo=").append(demandOrderVo);
        sb.append('}');
        return sb.toString();
    }


}
